import Mock from 'mockjs'
import fruitdata from '@/mock/fruitdata.json'
import morningdata from '@/mock/morningdata.json'
import leisuredata from '@/mock/leisuredata.json'
import commoditydata from '@/mock/commoditydata.json'
import hotdata from '@/mock/hotdata.json'
import cardata from '@/mock/cardata.json'
import user from '@/mock/user.json'

Mock.mock('/mock/fruitdata', 'get', {
    code: 200,
    data: fruitdata
})

Mock.mock('/mock/morningdata', 'get', {
    code: 200,
    data: morningdata
})

Mock.mock('/mock/leisuredata', 'get', {
    code: 200,
    data: leisuredata
})

Mock.mock('/mock/commoditydata', 'get', {
    code: 200,
    data: commoditydata
})

Mock.mock('/mock/hotdata', 'get', {
    code: 200,
    data: hotdata
})

Mock.mock('/mock/cardata', 'get', {
    code: 200,
    data: cardata
})

Mock.mock('/mock/user', 'get', {
    code: 200,
    data: user
})